/**
 * 交易日历
 */
import { TradeCalDto } from '../dto/TradeCalDto';
import { TradeCalVo } from '../vo/TradeCalVo';
import { fetchPost } from './BaseApi';

export const fetchTradeCal = async (time: string) => {
  let params: TradeCalDto = {
    end_date: time,
    is_open: '1',
    limit: 5
  };
  const data = await fetchPost("trade_cal", params);
  return data;
}